\documentclass[12pt]{book}

% include packages
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage{colortbl}

\usepackage[english]{babel}

\usepackage{color}
\usepackage{listings}

\definecolor{darkgray}{rgb}{0.95,0.95,0.95}
\definecolor{white}{rgb}{1,1,1}
\lstset{
language=C,                       % choose the language for the code
backgroundcolor=\color{darkgray}, % choose the background color. must add \usepackage{color}
basicstyle=\texttt\small,         % the size of the fonts that are used for the code
commentstyle=\color{green},       %
breaklines=true,                  % set automatic line breaking
breakatwhitespace=false,          % sets if automatic breaks should only happen at whitespace
frame=trBL,                       % add frame around the code
}


\title{Beginning Linux Programming \\ 4th Edition}
\author{Neil Matthew\\Richard Stones}
\date{\today}

\begin{document}

\maketitle

%
\include{foreword}
\include{1-getting.started}

\end{document}

